package com.usian.search.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description:
 * @Auther:ASS
 * @Date:2023/3/9 19:15
 */
@FeignClient(value = "leadnews-behavior")
public interface BehaviorFeign {

    @GetMapping("/api/v1/entry/find/{userId}/{equipmentId}")
    public ApBehaviorEntry findByUserIdOrEquipmentId(@PathVariable("userId") Integer userId,
                                                     @PathVariable("equipmentId") Integer equipmentId);
}
